﻿using FinalYear.Helpers;
using System;
using System.ComponentModel;
using System.IO.Ports;

namespace FinalYear.iNavigate.Classes
{
    public abstract class Sensor
    {

        internal SerialManager manager;

        internal Guid currentInstanceId { get; set; }

        public Sensor()
        {
            this.currentInstanceId = Guid.NewGuid();
        }

        public Sensor(SerialManager manager)
        {
            this.currentInstanceId = Guid.NewGuid();
            this.manager = manager;
        }

        internal abstract bool CheckDiagnostic();
    }
}